package com.ciei.dpagm.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wangyan
 * @since 2023-06-19
 */
public class DriverLibraryDirectoryVo implements java.io.Serializable {

    private static final long serialVersionUID = 1L;

    private Integer directoryId;
    private Integer parentDirectoryId;
    private String directoryName;
    private Integer isFile;
    private String filePath;
    private List<DriverLibraryDirectoryVo> children = new ArrayList<>();

    public DriverLibraryDirectoryVo(Integer directoryId, Integer parentDirectoryId, String directoryName, Integer isFile, String filePath) {
        this.directoryId = directoryId;
        this.parentDirectoryId = parentDirectoryId;
        this.directoryName = directoryName;
        this.filePath = filePath;
        this.isFile = isFile;
    }

    public Integer getDirectoryId() {
        return directoryId;
    }

    public void setDirectoryId(Integer directoryId) {
        this.directoryId = directoryId;
    }

    public Integer getParentDirectoryId() {
        return parentDirectoryId;
    }

    public void setParentDirectoryId(Integer parentDirectoryId) {
        this.parentDirectoryId = parentDirectoryId;
    }

    public String getDirectoryName() {
        return directoryName;
    }

    public void setDirectoryName(String directoryName) {
        this.directoryName = directoryName;
    }

    public Integer getIsFile() {
        return isFile;
    }

    public void setIsFile(Integer isFile) {
        this.isFile = isFile;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public List<DriverLibraryDirectoryVo> getChildren() {
        return children;
    }

    public void setChildren(List<DriverLibraryDirectoryVo> children) {
        this.children = children;
    }
}
